<?php
use yii\helpers\Html;
use yii\bootstrap4\Tabs;

echo Html::beginTag('div', [ "class" => "card"]);
echo Html::beginTag('div', [ "class" => "card-body"]);
echo Tabs::widget([
    'id' => $this->context->getTabsId(),
    'encodeLabels' => false,
    'headerOptions' => [],
    'items' => $this->context->getTabItems(),
]);

echo Html::endTag('div');
echo Html::endTag('div');